package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * @Package: com.ruoyi.system.domain.vo
 * @ClassName: ConsumptionRecordVo.java
 * @Description: 消费记录
 * @author: zhengxiaolong
 * @date: 2025/1/25 13:51
 */
@Data
public class ConsumptionRecordVo {
    /** 主键 */
    private Long id;

    /** 房间ID */
    @Excel(name = "房间")
    private String roomNumber;

    /** 服务项目ID */
    @Excel(name = "服务项目")
    private String serviceItemName;

    /** 消费数量 */
    @Excel(name = "消费数量")
    private Long quantity;

    /** 消费总金额 */
    @Excel(name = "消费总金额")
    private Long totalPrice;

    /** 是否删除 */
    private Integer isDelete;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;
}